﻿/* 
	======================================================================== 
		File name：		ExcelDownload
		Module:			Excel File Download	
		Author：			David Gu(Master HaKu)
		Create Time：	2013/8/31
		Modify By:		
		Modify Date:	
	======================================================================== 
*/

using System.IO;
using Zeus.Thunder.Web.ViewModels;
using log4net;

namespace Zeus.Thunder.Web.Download
{
    public class ExcelDownload : IFileDownload
    {
        private static readonly ILog log = LogManager.GetLogger("loggerInfo");
        
        public MemoryStream Save(DownloadData data)
        {
            log.Info("Excel Download - Save To Stream ... ");

            //ToDo: Real Excel Save Logic
            MemoryStream stream = new MemoryStream();

            return stream;
        }
    }
}